package com.ruoyi.region.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 区域对象 tb_region
 * 
 * @author ruoyi
 * @date 2025-08-04
 */
public class TbRegion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域id */
    private String id;

    /** 区域名 */
    @Excel(name = "区域名")
    private String regionName;

    /** 区域图片 */
    @Excel(name = "区域图片")
    private String img;

    /** 层数 */
    @Excel(name = "层数")
    private Integer layer;

    /** 容量 */
    @Excel(name = "容量")
    private Integer capacity;

    /** 当前容量 */
    @Excel(name = "当前容量")
    private Integer currentQuantity;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setRegionName(String regionName) 
    {
        this.regionName = regionName;
    }

    public String getRegionName() 
    {
        return regionName;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setLayer(Integer layer) 
    {
        this.layer = layer;
    }

    public Integer getLayer() 
    {
        return layer;
    }

    public void setCapacity(Integer capacity) 
    {
        this.capacity = capacity;
    }

    public Integer getCapacity() 
    {
        return capacity;
    }

    public void setCurrentQuantity(Integer currentQuantity) 
    {
        this.currentQuantity = currentQuantity;
    }

    public Integer getCurrentQuantity() 
    {
        return currentQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("regionName", getRegionName())
            .append("img", getImg())
            .append("layer", getLayer())
            .append("capacity", getCapacity())
            .append("currentQuantity", getCurrentQuantity())
            .toString();
    }
}
